{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport _slicedToArray from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nvar __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport BarsOutlined from \"@ant-design/icons/es/icons/BarsOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport isNumeric from '../_util/isNumeric';\nimport { LayoutContext } from './layout';\nvar dimensionMaxMap = {\n  xs: '479.98px',\n  sm: '575.98px',\n  md: '767.98px',\n  lg: '991.98px',\n  xl: '1199.98px',\n  xxl: '1599.98px'\n};\nexport var SiderContext = /*#__PURE__*/React.createContext({});\nvar generateId = function () {\n  var i = 0;\n  return function () {\n    var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    i += 1;\n    return \"\".concat(prefix).concat(i);\n  };\n}();\nvar Sider = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n  var customizePrefixCls = _a.prefixCls,\n    className = _a.className,\n    trigger = _a.trigger,\n    children = _a.children,\n    _a$defaultCollapsed = _a.defaultCollapsed,\n    defaultCollapsed = _a$defaultCollapsed === void 0 ? false : _a$defaultCollapsed,\n    _a$theme = _a.theme,\n    theme = _a$theme === void 0 ? 'dark' : _a$theme,\n    _a$style = _a.style,\n    style = _a$style === void 0 ? {} : _a$style,\n    _a$collapsible = _a.collapsible,\n    collapsible = _a$collapsible === void 0 ? false : _a$collapsible,\n    _a$reverseArrow = _a.reverseArrow,\n    reverseArrow = _a$reverseArrow === void 0 ? false : _a$reverseArrow,\n    _a$width = _a.width,\n    width = _a$width === void 0 ? 200 : _a$width,\n    _a$collapsedWidth = _a.collapsedWidth,\n    collapsedWidth = _a$collapsedWidth === void 0 ? 80 : _a$collapsedWidth,\n    zeroWidthTriggerStyle = _a.zeroWidthTriggerStyle,\n    breakpoint = _a.breakpoint,\n    onCollapse = _a.onCollapse,\n    onBreakpoint = _a.onBreakpoint,\n    props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n  var _useContext = useContext(LayoutContext),\n    siderHook = _useContext.siderHook;\n  var _useState = useState('collapsed' in props ? props.collapsed : defaultCollapsed),\n    _useState2 = _slicedToArray(_useState, 2),\n    collapsed = _useState2[0],\n    setCollapsed = _useState2[1];\n  var _useState3 = useState(false),\n    _useState4 = _slicedToArray(_useState3, 2),\n    below = _useState4[0],\n    setBelow = _useState4[1];\n  useEffect(function () {\n    if ('collapsed' in props) {\n      setCollapsed(props.collapsed);\n    }\n  }, [props.collapsed]);\n  var handleSetCollapsed = function handleSetCollapsed(value, type) {\n    if (!('collapsed' in props)) {\n      setCollapsed(value);\n    }\n    onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n  };\n  // ========================= Responsive =========================\n  var responsiveHandlerRef = useRef();\n  responsiveHandlerRef.current = function (mql) {\n    setBelow(mql.matches);\n    onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n    if (collapsed !== mql.matches) {\n      handleSetCollapsed(mql.matches, 'responsive');\n    }\n  };\n  useEffect(function () {\n    function responsiveHandler(mql) {\n      return responsiveHandlerRef.current(mql);\n    }\n    var mql;\n    if (typeof window !== 'undefined') {\n      var _window = window,\n        matchMedia = _window.matchMedia;\n      if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n        mql = matchMedia(\"(max-width: \".concat(dimensionMaxMap[breakpoint], \")\"));\n        try {\n          mql.addEventListener('change', responsiveHandler);\n        } catch (error) {\n          mql.addListener(responsiveHandler);\n        }\n        responsiveHandler(mql);\n      }\n    }\n    return function () {\n      try {\n        mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n      } catch (error) {\n        mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n      }\n    };\n  }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n  useEffect(function () {\n    var uniqueId = generateId('ant-sider-');\n    siderHook.addSider(uniqueId);\n    return function () {\n      return siderHook.removeSider(uniqueId);\n    };\n  }, []);\n  var toggle = function toggle() {\n    handleSetCollapsed(!collapsed, 'clickTrigger');\n  };\n  var _useContext2 = useContext(ConfigContext),\n    getPrefixCls = _useContext2.getPrefixCls;\n  var renderSider = function renderSider() {\n    var _classNames;\n    var prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n    var divProps = omit(props, ['collapsed']);\n    var rawWidth = collapsed ? collapsedWidth : width;\n    // use \"px\" as fallback unit for width\n    var siderWidth = isNumeric(rawWidth) ? \"\".concat(rawWidth, \"px\") : String(rawWidth);\n    // special trigger when collapsedWidth == 0\n    var zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n      onClick: toggle,\n      className: classNames(\"\".concat(prefixCls, \"-zero-width-trigger\"), \"\".concat(prefixCls, \"-zero-width-trigger-\").concat(reverseArrow ? 'right' : 'left')),\n      style: zeroWidthTriggerStyle\n    }, trigger || /*#__PURE__*/React.createElement(BarsOutlined, null)) : null;\n    var iconObj = {\n      expanded: reverseArrow ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null),\n      collapsed: reverseArrow ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n    };\n    var status = collapsed ? 'collapsed' : 'expanded';\n    var defaultTrigger = iconObj[status];\n    var triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-trigger\"),\n      onClick: toggle,\n      style: {\n        width: siderWidth\n      }\n    }, trigger || defaultTrigger) : null;\n    var divStyle = Object.assign(Object.assign({}, style), {\n      flex: \"0 0 \".concat(siderWidth),\n      maxWidth: siderWidth,\n      minWidth: siderWidth,\n      width: siderWidth\n    });\n    var siderCls = classNames(prefixCls, \"\".concat(prefixCls, \"-\").concat(theme), (_classNames = {}, _defineProperty(_classNames, \"\".concat(prefixCls, \"-collapsed\"), !!collapsed), _defineProperty(_classNames, \"\".concat(prefixCls, \"-has-trigger\"), collapsible && trigger !== null && !zeroWidthTrigger), _defineProperty(_classNames, \"\".concat(prefixCls, \"-below\"), !!below), _defineProperty(_classNames, \"\".concat(prefixCls, \"-zero-width\"), parseFloat(siderWidth) === 0), _classNames), className);\n    return /*#__PURE__*/React.createElement(\"aside\", Object.assign({\n      className: siderCls\n    }, divProps, {\n      style: divStyle,\n      ref: ref\n    }), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-children\")\n    }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n  };\n  var contextValue = React.useMemo(function () {\n    return {\n      siderCollapsed: collapsed\n    };\n  }, [collapsed]);\n  return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n    value: contextValue\n  }, renderSider());\n});\nif (process.env.NODE_ENV !== 'production') {\n  Sider.displayName = 'Sider';\n}\nexport default Sider;","map":{"version":3,"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","BarsOutlined","LeftOutlined","RightOutlined","classNames","omit","React","useContext","useEffect","useRef","useState","ConfigContext","isNumeric","LayoutContext","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","createContext","generateId","prefix","arguments","undefined","Sider","forwardRef","_a","ref","customizePrefixCls","prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","props","siderHook","collapsed","setCollapsed","below","setBelow","handleSetCollapsed","value","type","responsiveHandlerRef","current","mql","matches","responsiveHandler","window","matchMedia","addEventListener","error","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","getPrefixCls","renderSider","divProps","rawWidth","siderWidth","String","zeroWidthTrigger","parseFloat","createElement","onClick","iconObj","expanded","status","defaultTrigger","triggerDom","divStyle","assign","flex","maxWidth","minWidth","siderCls","contextValue","useMemo","siderCollapsed","Provider","process","env","NODE_ENV","displayName"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/layout/Sider.js"],"sourcesContent":["var __rest = this && this.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nimport BarsOutlined from \"@ant-design/icons/es/icons/BarsOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport * as React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport { ConfigContext } from '../config-provider';\nimport isNumeric from '../_util/isNumeric';\nimport { LayoutContext } from './layout';\nconst dimensionMaxMap = {\n  xs: '479.98px',\n  sm: '575.98px',\n  md: '767.98px',\n  lg: '991.98px',\n  xl: '1199.98px',\n  xxl: '1599.98px'\n};\nexport const SiderContext = /*#__PURE__*/React.createContext({});\nconst generateId = (() => {\n  let i = 0;\n  return function () {\n    let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    i += 1;\n    return `${prefix}${i}`;\n  };\n})();\nconst Sider = /*#__PURE__*/React.forwardRef((_a, ref) => {\n  var {\n      prefixCls: customizePrefixCls,\n      className,\n      trigger,\n      children,\n      defaultCollapsed = false,\n      theme = 'dark',\n      style = {},\n      collapsible = false,\n      reverseArrow = false,\n      width = 200,\n      collapsedWidth = 80,\n      zeroWidthTriggerStyle,\n      breakpoint,\n      onCollapse,\n      onBreakpoint\n    } = _a,\n    props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n  const {\n    siderHook\n  } = useContext(LayoutContext);\n  const [collapsed, setCollapsed] = useState('collapsed' in props ? props.collapsed : defaultCollapsed);\n  const [below, setBelow] = useState(false);\n  useEffect(() => {\n    if ('collapsed' in props) {\n      setCollapsed(props.collapsed);\n    }\n  }, [props.collapsed]);\n  const handleSetCollapsed = (value, type) => {\n    if (!('collapsed' in props)) {\n      setCollapsed(value);\n    }\n    onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n  };\n  // ========================= Responsive =========================\n  const responsiveHandlerRef = useRef();\n  responsiveHandlerRef.current = mql => {\n    setBelow(mql.matches);\n    onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n    if (collapsed !== mql.matches) {\n      handleSetCollapsed(mql.matches, 'responsive');\n    }\n  };\n  useEffect(() => {\n    function responsiveHandler(mql) {\n      return responsiveHandlerRef.current(mql);\n    }\n    let mql;\n    if (typeof window !== 'undefined') {\n      const {\n        matchMedia\n      } = window;\n      if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n        mql = matchMedia(`(max-width: ${dimensionMaxMap[breakpoint]})`);\n        try {\n          mql.addEventListener('change', responsiveHandler);\n        } catch (error) {\n          mql.addListener(responsiveHandler);\n        }\n        responsiveHandler(mql);\n      }\n    }\n    return () => {\n      try {\n        mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n      } catch (error) {\n        mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n      }\n    };\n  }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n  useEffect(() => {\n    const uniqueId = generateId('ant-sider-');\n    siderHook.addSider(uniqueId);\n    return () => siderHook.removeSider(uniqueId);\n  }, []);\n  const toggle = () => {\n    handleSetCollapsed(!collapsed, 'clickTrigger');\n  };\n  const {\n    getPrefixCls\n  } = useContext(ConfigContext);\n  const renderSider = () => {\n    const prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n    const divProps = omit(props, ['collapsed']);\n    const rawWidth = collapsed ? collapsedWidth : width;\n    // use \"px\" as fallback unit for width\n    const siderWidth = isNumeric(rawWidth) ? `${rawWidth}px` : String(rawWidth);\n    // special trigger when collapsedWidth == 0\n    const zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n      onClick: toggle,\n      className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),\n      style: zeroWidthTriggerStyle\n    }, trigger || /*#__PURE__*/React.createElement(BarsOutlined, null)) : null;\n    const iconObj = {\n      expanded: reverseArrow ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null),\n      collapsed: reverseArrow ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n    };\n    const status = collapsed ? 'collapsed' : 'expanded';\n    const defaultTrigger = iconObj[status];\n    const triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n      className: `${prefixCls}-trigger`,\n      onClick: toggle,\n      style: {\n        width: siderWidth\n      }\n    }, trigger || defaultTrigger) : null;\n    const divStyle = Object.assign(Object.assign({}, style), {\n      flex: `0 0 ${siderWidth}`,\n      maxWidth: siderWidth,\n      minWidth: siderWidth,\n      width: siderWidth\n    });\n    const siderCls = classNames(prefixCls, `${prefixCls}-${theme}`, {\n      [`${prefixCls}-collapsed`]: !!collapsed,\n      [`${prefixCls}-has-trigger`]: collapsible && trigger !== null && !zeroWidthTrigger,\n      [`${prefixCls}-below`]: !!below,\n      [`${prefixCls}-zero-width`]: parseFloat(siderWidth) === 0\n    }, className);\n    return /*#__PURE__*/React.createElement(\"aside\", Object.assign({\n      className: siderCls\n    }, divProps, {\n      style: divStyle,\n      ref: ref\n    }), /*#__PURE__*/React.createElement(\"div\", {\n      className: `${prefixCls}-children`\n    }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n  };\n  const contextValue = React.useMemo(() => ({\n    siderCollapsed: collapsed\n  }), [collapsed]);\n  return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n    value: contextValue\n  }, renderSider());\n});\nif (process.env.NODE_ENV !== 'production') {\n  Sider.displayName = 'Sider';\n}\nexport default Sider;"],"mappings":";;AAAA,IAAIA,MAAM,GAAG,IAAI,IAAI,IAAI,CAACA,MAAM,IAAI,UAAUC,CAAC,EAAEC,CAAC,EAAE;EAClD,IAAIC,CAAC,GAAG,CAAC,CAAC;EACV,KAAK,IAAIC,CAAC,IAAIH,CAAC;IAAE,IAAII,MAAM,CAACC,SAAS,CAACC,cAAc,CAACC,IAAI,CAACP,CAAC,EAAEG,CAAC,CAAC,IAAIF,CAAC,CA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